package com.yyw.rabbitmq.core.serialize;

import com.yyw.rabbitmq.api.Message;

/**
 * @author yiyw
 * @ClassName JacksonSerializerFactory.java
 * @Description TODO
 * @createTime 2021年07月28日 23:01:00
 */
public class JacksonSerializerFactory implements SerializerFactory {

    @Override
    public Serialize create() {
        return JacksonSerializer.createParametricType(Message.class);
    }
}
